﻿using System.ServiceModel;
using UIProcessSchemaObjects;

namespace UIProcessService
{
    [ServiceContract(Namespace = "http://formsanywhere.net/uiprocess/2009/03")]
    [XmlSerializerFormat]
    public interface IUIProcessService
    {
        [OperationContract]
        UIProcessSchemaObjects.Form ProcessForm(ProcessFormRequest ProcessFormIn);
        [OperationContract]
        FormsList DownloadFormList(DownloadFormListRequest DownloadFormListIn);
        [OperationContract]
        UIProcessSchemaObjects.Form DownloadForm(DownloadFormRequest DownloadFormIn);
        [OperationContract]
        string UploadForm(ProcessFormRequest ProcessFormIn);
    }
}
